class Main {
  void f(Object o) {
    switch (o) {
      case String s when <caret>
    }
  }
}
